package org.zpmis.domain.enums;

public enum PurchaseEnum {

    /**
     * 采购单是否删除
     */
    NOT_DELETE(0, "未删除"),
    DELETED(1, "已删除"),
    /**
     * 1采购中2已完成3采购失败
     */
    PROCESS_STATUS(1,"采购中"),
    COMPLETE_STATUS(2,"已完成"),
    OVERDUE_STATUS(3,"采购失败"),
    ;

    private int code;
    private String message;

    PurchaseEnum(int code, String message) {
        this.code = code;
        this.message = message;
    }

    public int code() {
        return this.code;
    }


    public String message() {
        return this.message;
    }
}
